package ycl.important.entity.region;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import ycl.important.common.base.entity.BaseEntity;

/**
 * <p>
 * 车辆归属地
 * </p>
 *
 * @author YCL
 * @since 2021-06-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "RegionCarsAttribution对象", description = "车辆归属地")
@TableName("region_cars_attribution")
public class CarsAttribution extends BaseEntity {

	private static final long serialVersionUID = 2451375060022720342L;

	@ApiModelProperty(value = "省简称")
	private String provinceAbbreviation;

	@ApiModelProperty(value = "市归属地简称")
	private String cityAbbreviation;

	@ApiModelProperty(value = "省代码")
	private String provinceCode;

	@ApiModelProperty(value = "省名称")
	private String provinceName;

	@ApiModelProperty(value = "市代码")
	private String cityCode;

	@ApiModelProperty(value = "市名称")
	private String cityName;

	@ApiModelProperty(value = "备注")
	private String remark;

	public CarsAttribution() {
	}

	public CarsAttribution(String provinceAbbreviation, String provinceCode, String provinceName, String cityCode, String cityName) {
		this.provinceAbbreviation = provinceAbbreviation;
		this.provinceCode = provinceCode;
		this.provinceName = provinceName;
		this.cityCode = cityCode;
		this.cityName = cityName;
	}
}
